from django.shortcuts import render
from polls.models import Sentence

def index(request):
    first = Sentence.objects.first()
    return render(request, 'index.html', {'sentence': first.s})
